package com.sais.manage.boot.building.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sais.manage.boot.building.dto.RoomInfoDTO;
import com.sais.manage.boot.building.entity.RoomInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 宿舍管理平台-宿舍详情mapper接口
 *
 * @author zwp
 * @date 2020/2/20
 */
@Mapper
public interface RoomInfoMapper extends BaseMapper<RoomInfo> {

    /**
     * 根据 房间id 查询 房间详情
     * @param roomId
     * @return
     */
    RoomInfoDTO selectRoomInfo(@Param("roomId") String roomId);
}
